package ooo.reindeer.data.annotation;

import ooo.reindeer.data.option.Endian;
import ooo.reindeer.data.option.Type;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Inherited
public @interface DynamicBytes {

    byte[] endMark() default {};

    Endian endian() default Endian.BIG;

    Type lengthFieldType() default Type.Int32;

    byte[] startMark() default {};

    Type type() default Type.DynamicBytes;

}
